Skip to main content

Fixed Savings Re-invest Setting

Type: POST

Description: /v4/finance/re-invest-timesaving

Enable or disable auto re-invest for fixed savings products.

Parameters

NameTypeMandatoryDescription
positionIdstringtruePosition ID
enabledbooleantrueEnable or disable re-invest

Request Example

Request
curl -X POST "https://sapi.xt.com/v4/finance/re-invest-timesaving" \
-H "validate-appkey: $APPKEY" \
-H "validate-timestamp: $TIMESTAMP" \
-H "validate-signature: $SIGNATURE" \
-H "Content-Type: application/json" \
-d '{
"positionId": "123456789",
"enabled": true
}'

Response Example

Response
{
"rc": 0,
"mc": "SUCCESS",
"result": "success"
}

Response Fields

FieldTypeDescription
resultstringOperation result